package com.ffggffgfv.backend.dto;

/**
 * 用户登录数据传输对象
 */
public class UserLoginDTO {

    private String username;     // 用户名或手机号
    private String password;     // 密码
    private String phone;        // 手机号（验证码登录时使用）
    private String verifyCode;   // 验证码
    private Integer loginType;   // 登录类型：1-密码登录，2-验证码登录

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getVerifyCode() {
        return verifyCode;
    }

    public void setVerifyCode(String verifyCode) {
        this.verifyCode = verifyCode;
    }

    public Integer getLoginType() {
        return loginType;
    }

    public void setLoginType(Integer loginType) {
        this.loginType = loginType;
    }
}
